#ifndef MESSAGEBOX_H
#define MESSAGEBOX_H

#include <QTextBrowser>

class MessageBox : public QTextBrowser
{
    Q_OBJECT
public:
    explicit MessageBox(QWidget *parent = 0);
    QString text();
private:
    void keyPressEvent(QKeyEvent *ev);
    void keyReleaseEvent(QKeyEvent *ev);
    bool crtl;
signals:
    void returnPressed();
public slots:

};

#endif // MESSAGEBOX_H
